# from first.day3 import result
#
# # n = int(input("输入"))
# # fib = [1,1]
# # for i in range(2,n):
# #     next_num = fib[i-1]+fib[i-2]
# #     fib.append(next_num)
# # print(f"{n},wei{fib}")
#
# # for i in range(100, 1000):
# #     a = i // 100
# #     b = i // 10 % 10
# #     c = i % 10
# #     if i == a**3 + b**3 + c**3:
# #         print(i)
# #
# text = """
# Python is a popular programming language. It is widely used for web development, data science, and more.
# Python has a simple and readable syntax, which makes it great for beginners.
# """
#
# words = text.lower().split()
# word_count = {}
#
# for word in words:
#     word = word.strip(',.?!')
#     if word in word_count:
#         word_count[word] += 1
#     else:
#         word_count[word] = 1
#
# for word,count in word_count.items():
#     print(f"{word}出现了{count}次")

# for i in range(5):
#     for j in range(5):
#         print("*",end=" ")
#     print()
print(f"{'* ' * 5}\n"*5)
for i in range(1,6):
    for j in range(i):
        print("*",end=" ")
    print()

for i in range(5,0,-1):
    for j in range(i):
        print("*",end=" ")
    print()

for i in range(5,0,-1):
    for j in range(5-i):
        print(" ",end=" ")
    for j in range(2*i-1):
        print("*",end=" ")
    print()



